/**
 * Copyright (c) 2018 软唐 All rights reserved.
 *
 * https://www.softtown.cn
 *
 * 版权所有，侵权必究！
 */

package com.softtown.modules.dapai.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.softtown.common.utils.PageUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


@Data
@ApiModel(value = "维修服务单APPdto")
public class CompServiceOrderAPPDTO extends PageUtils implements Serializable {

    /**
     * 主键
     * id
     * isNullAble:0
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 公司id
     * isNullAble:0
     */
    @ApiModelProperty(value = "公司id")
    private Long compId;

    /**
     * 售后申请单ID
     * isNullAble:0
     */
    @ApiModelProperty(value = "售后申请单ID")
    private Long afterSaleAppId;

    /**
     * 客户id
     * isNullAble:0
     */
    @ApiModelProperty(value = "客户id")
    private Long custId;

    /**
     * 联系人id
     * isNullAble:0
     */
    @ApiModelProperty(value = "联系人id")
    private Long contactsId;
    /**
     * 所属业务员id
     * isNullAble:0
     */
    @ApiModelProperty(value = "所属业务员id")
    private Long emplId;

    /**
     * 计划时间
     * isNullAble:1
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "计划时间")
    private Date planDate;

    /**
     * 优先级中低高
     * isNullAble:0
     */
    @ApiModelProperty(value = "优先级中低高")
    private String  priority;
    /**
     * 联系人
     * isNullAble:0
     */
    @ApiModelProperty(value = "联系方式")
    private String  contactUser;
    /**
     * 联系方式
     * isNullAble:0
     */
    @ApiModelProperty(value = "联系方式")
    private String  contact;
    /**
     * 联系地址
     * isNullAble:0
     */
    @ApiModelProperty(value = "联系地址")
    private String  address;
    /**
     * 问题描述
     * isNullAble:0
     */
    @ApiModelProperty(value = "问题描述")
    private String  describle;
    /**
     * 维修分配 0: 未分配 1: 已分配 2: 处理中 3: 已解决
     * isNullAble:0
     */
    @ApiModelProperty(value = "维修分配 0: 未分配 1: 已分配 2: 处理中 3: 已解决")
    private int  distribution;
    /**
     * 中继器自定义
     * isNullAble:0
     */
    @ApiModelProperty(value = "中继器自定义")
    private String  repeater;


    /**
     * 审批流id
     * isNullAble:0
     */
    @ApiModelProperty(value = "审批流id")
    private Long aprvProcId;


    /**
     * 审批状态0:未提交 1：审批中 2：已完成 3：已撤销 4：已退回 5：已终止 6：预警
     * isNullAble:0
     */
    @ApiModelProperty(value = "审批状态0:未提交 1：审批中 2：已完成 3：已撤销 4：已退回 5：已终止 6：预警")
    private Integer	aprvStatus;


    /**
     * 创建者
     * isNullAble:1
     */
    @ApiModelProperty(value = "创建者")
    private Long creator;

    /**
     * 创建时间
     * isNullAble:1
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    /**
     * 更新者
     * isNullAble:1
     */
    @ApiModelProperty(value = "更新者")
    private Long updater;

    /**
     * 更新时间
     * isNullAble:1
     */
    @ApiModelProperty(value = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateDate;

    /**
     * 更新时间戳
     * isNullAble:1
     */
    @ApiModelProperty(value = "更新时间戳")
    private String updateTimestamp;

    /**
     * 逻辑删除
     * isNullAble:1,defaultVal:0
     */
    @ApiModelProperty(value = "逻辑删除")
    private Integer isDeleted;


    @ApiModelProperty(value = "参数")
    private String param;

    @ApiModelProperty(value = "审批状态")
    private String aprvStatusName;
    @ApiModelProperty(value = "客户名称")
    private String custName;
    @ApiModelProperty(value = "联系人")
    private String telephone;
    @ApiModelProperty(value = "所属业务员")
    private String emplName;
    @ApiModelProperty(value = "维修分配名字")
    private String distributionName;


}
